#ifndef PILEDEF_H
#define PILEDEF_H

#include "definition.h"

//structures
typedef struct piledef_s piledef;

struct piledef_s {
    definition* tete;
    piledef* next;
};

//fonctions
piledef* creerPileDef(definition* def);
piledef* pushPileDef(piledef* pile, definition* def);
piledef* popPileDef(piledef* pile);
piledef* supprimerPileDef(piledef* pile);

// primitives
int getMaxLevel(piledef* pile);


#endif
